package com.oa.oaspcpersonalcenter.mapper;




import com.oa.oaspccommon.po.Salary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Sdx
 * 2021-04-15
 */
//@Mapper
public interface SalaryMapper {
    //    查询所有
    public List<Salary> findSalarys();

    //    查询单个
    public Salary findSalaryByUidAndSid(@Param("uid") int uid, @Param("sid") double sid);
//    public Salary findSalaryByUidAndSid(int uid, double sid);

    //    增加
    public boolean addSalary(Salary salary);

    //    修改
    public boolean updateSalary(Salary salary);

    //    删除
    public boolean deleteSalaryByUidAndSid(@Param("uid") int uid, @Param("sid") double sid);
}
